<?php

declare(strict_types=1);

use Hyperf\HttpServer\Router\Router;

Router::addServer('json-api', function () {
    //后台在线服务
    Router::get('/admin-api', function () {
        return 'admin-api';
    });
});